home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Hyper / Rinaldi / HC 1.2 only / SelectFile 1.1.sit / SelectFile 1.1 (US) / SelectFile 1.1 (US) / cards.xml < prev    next >
Encoding:
Text File  |  1993-03-12  |  5.5 KB  |  86 lines

  1. card_2974.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>2974</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_3163.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2618</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3787.css" />
  13.     <part>
  14.         <id>1</id>
  15.         <type>field</type>
  16.         <visible> <true /> </visible>
  17.         <dontWrap> <false /> </dontWrap>
  18.         <dontSearch> <false /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <true /> </fixedLineHeight>
  21.         <autoTab> <false /> </autoTab>
  22.         <lockText> <true /> </lockText>
  23.         <rect>
  24.             <left>69</left>
  25.             <top>68</top>
  26.             <right>434</right>
  27.             <bottom>252</bottom>
  28.         </rect>
  29.         <style>scrolling</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <false /> </showLines>
  32.         <wideMargins> <false /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Geneva</font>
  39.         <textSize>9</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>12</textHeight>
  42.         <name>Text</name>
  43.         <script></script>
  44.     </part>
  45.     <part>
  46.         <id>2</id>
  47.         <type>button</type>
  48.         <visible> <true /> </visible>
  49.         <reserved5> 0 </reserved5>
  50.         <reserved4> 0 </reserved4>
  51.         <reserved3> 0 </reserved3>
  52.         <reserved2> 0 </reserved2>
  53.         <reserved1> 0 </reserved1>
  54.         <enabled> <true /> </enabled>
  55.         <rect>
  56.             <left>174</left>
  57.             <top>281</top>
  58.             <right>343</right>
  59.             <bottom>311</bottom>
  60.         </rect>
  61.         <style>roundrect</style>
  62.         <showName> <true /> </showName>
  63.         <highlight> <false /> </highlight>
  64.         <autoHighlight> <true /> </autoHighlight>
  65.         <sharedHighlight> <true /> </sharedHighlight>
  66.         <family>0</family>
  67.         <titleWidth>0</titleWidth>
  68.         <icon>0</icon>
  69.         <textAlign>center</textAlign>
  70.         <font>Chicago</font>
  71.         <textSize>12</textSize>
  72.         <textStyle>plain</textStyle>
  73.         <name>SelectFile</name>
  74.         <script>on mouseUp
  75. answer SelectFile("STAK,TEXT")
  76. end mouseUp
  77. </script>
  78.     </part>
  79.     <content>
  80.         <layer>card</layer>
  81.         <id>1</id>
  82.         <text><span class="style1">
  83.                                             </span><span class="style2">SelectFile 1.1</span><span class="style1">
  84.  
  85.                                          </span><span class="style3">by Fr√©d√©ric RINALDI</span><span class="style1">
  86.  
  87. </span><span class="style4">DESCRIPTION</span><span class="style1">
  88.   SelectFile provides a dialog allowing to choose a file (SFGetFile). Not anymore required with HC2.0 which includes this feature.
  89.  
  90. </span><span class="style4">SYNTAX</span><span class="style1">
  91.            SelectFile([<type1‚Ķ[,type4]>][,<prompt>][,<default dir>])
  92.  
  93. </span><span class="style4">PARAMETERS</span><span class="style1">
  94.    </span><span class="style2"><type1‚Ķ[,type4]></span><span class="style1"> is a 1 to 4 items string for filtering the displayed files according to their type.
  95.  
  96.    </span><span class="style2"><prompt></span><span class="style1"> is the message appearing in the dialog.
  97.  
  98.    </span><span class="style2"><default dir></span><span class="style1"> is a pathname allowing to give the default folder where the dialog opens to.
  99.  
  100.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  101.  
  102. </span><span class="style4">USING</span><span class="style1">
  103.    The XFCN returns the full pathame of choosen file.
  104.  
  105.    An empty string is returned if the user clicked on Cancel.
  106.  
  107.    Although working fine with both System 6 and System 7, FullSFPack is better suited for the latter, due in part to alias handling.
  108.  
  109. </span><span class="style4">ERRORS</span><span class="style1">
  110. If an error occurs, SelectFile can return :
  111.      "Error : Missing DLOG/DITL resource(s)"
  112.      "Error : Not a folder"
  113.      "Error : Alias file not supported"
  114.      "Error : Volume not found"
  115.      "Error : Bad Name"
  116.      "Error : Folder not found"
  117.      "Error : AppleShare insufficient privileges"
  118.  
  119. </span><span class="style4">HISTORY</span><span class="style1">
  120. </span><span class="style2">1.1</span><span class="style1">                                                                                        </span><span class="style2">03/11/92</span><span class="style1">
  121. ‚Ä¢ Added default dir parameter
  122. </span><span class="style2">
  123. 1.0</span><span class="style1">                                                                                        </span><span class="style2">07/17/92</span><span class="style1">
  124. ‚Ä¢ First public release
  125. --------------------------------------------------------------------
  126. </span><span class="style5">   All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present :
  127. </span><span class="style1">
  128. </span><span class="style3">                  SelectFile XFCN, ¬© Frederic Rinaldi, 1989‚Ķ1993.
  129.  
  130.    Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses:
  131. </span><span class="style1">
  132. </span><span class="style6">AppleLink</span><span class="style3">: RINALDI1   </span><span class="style6">CalvaCom</span><span class="style3"> : FR10    </span><span class="style6">Compuserve</span><span class="style3"> : 71170,2111
  133. </span><span class="style6">               Internet</span><span class="style3"> : RINALDI1@APPLELINK@APPLE.COM</span></text>
  134.     </content>
  135.     <name></name>
  136.     <script></script>
  137. </card>
  138.  
  139.  
  140.